package com.zy.design.ocp.old;

/**
 * @author zhaoyi
 * @date 2021/3/15 17:22
 */
public class AlertRule {

    private long maxTps;
    private long maxErrorCount;
    private long maxTimeoutTps;

    public AlertRule getMatchedRule(String api) {
        return new AlertRule();
    }

    public long getMaxTps() {
        return maxTps;
    }

    public long getMaxErrorCount() {
        return maxErrorCount;
    }

    public long getMaxTimeoutTps() {
        return maxTimeoutTps;
    }
}
